﻿using Dapper;
using Estsh.Core.Base;
using Estsh.Core.Model.Result;
using Estsh.Core.Models;
using Estsh.Core.Services;
using Estsh.Core.Wms.IRepositories;
using Estsh.Core.Wms.IServices;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Estsh.Core.Wms.Services
{
    /// <summary>
    /// ERP接口
    /// </summary>
    public class ProductOffLineInterfaceService : BaseService<BaseEntity>, IProductOffLineInterfaceService
    {
        private readonly IProductOffLineInterfaceRepository repository;
        public ProductOffLineInterfaceService(IProductOffLineInterfaceRepository _repository) : base(_repository)
        {
            repository = _repository;

        }
        public WmsInterfaceResult OutPdlineMethod(List<MesWmsHgOutPdlineInterface> sapPts)
        {
            return repository.OutPdlineMethod(sapPts);
        }
    }
}
